﻿using UnityEngine;
using System.Collections;

public class QuitButton : MonoBehaviour {

	private GameController gameController;
	
	void Awake(){
		gameController = GameObject.FindObjectOfType<GameController> ();
	}
	
	void OnMouseDown(){
		gameController.BackToStartUI ();
	}
}
